﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000CBB RID: 3259
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class OMJPKPNNMJM : IMessage<OMJPKPNNMJM>, IMessage, IEquatable<OMJPKPNNMJM>, IDeepCloneable<OMJPKPNNMJM>, IBufferMessage
	{
		// Token: 0x170028FC RID: 10492
		// (get) Token: 0x06009186 RID: 37254 RVA: 0x00182464 File Offset: 0x00180664
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<OMJPKPNNMJM> Parser
		{
			get
			{
				return OMJPKPNNMJM._parser;
			}
		}

		// Token: 0x170028FD RID: 10493
		// (get) Token: 0x06009187 RID: 37255 RVA: 0x0018246B File Offset: 0x0018066B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return OMJPKPNNMJMReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170028FE RID: 10494
		// (get) Token: 0x06009188 RID: 37256 RVA: 0x0018247D File Offset: 0x0018067D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return OMJPKPNNMJM.Descriptor;
			}
		}

		// Token: 0x06009189 RID: 37257 RVA: 0x00182484 File Offset: 0x00180684
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OMJPKPNNMJM()
		{
		}

		// Token: 0x0600918A RID: 37258 RVA: 0x00182497 File Offset: 0x00180697
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OMJPKPNNMJM(OMJPKPNNMJM other) : this()
		{
			this.dFNKOJAHCPD_ = other.dFNKOJAHCPD_.Clone();
			this.selectHintId_ = other.selectHintId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600918B RID: 37259 RVA: 0x001824CD File Offset: 0x001806CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OMJPKPNNMJM Clone()
		{
			return new OMJPKPNNMJM(this);
		}

		// Token: 0x170028FF RID: 10495
		// (get) Token: 0x0600918C RID: 37260 RVA: 0x001824D5 File Offset: 0x001806D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> DFNKOJAHCPD
		{
			get
			{
				return this.dFNKOJAHCPD_;
			}
		}

		// Token: 0x17002900 RID: 10496
		// (get) Token: 0x0600918D RID: 37261 RVA: 0x001824DD File Offset: 0x001806DD
		// (set) Token: 0x0600918E RID: 37262 RVA: 0x001824E5 File Offset: 0x001806E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SelectHintId
		{
			get
			{
				return this.selectHintId_;
			}
			set
			{
				this.selectHintId_ = value;
			}
		}

		// Token: 0x0600918F RID: 37263 RVA: 0x001824EE File Offset: 0x001806EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as OMJPKPNNMJM);
		}

		// Token: 0x06009190 RID: 37264 RVA: 0x001824FC File Offset: 0x001806FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(OMJPKPNNMJM other)
		{
			return other != null && (other == this || (this.dFNKOJAHCPD_.Equals(other.dFNKOJAHCPD_) && this.SelectHintId == other.SelectHintId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009191 RID: 37265 RVA: 0x0018254C File Offset: 0x0018074C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.dFNKOJAHCPD_.GetHashCode();
			if (this.SelectHintId != 0U)
			{
				num ^= this.SelectHintId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009192 RID: 37266 RVA: 0x00182599 File Offset: 0x00180799
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009193 RID: 37267 RVA: 0x001825A1 File Offset: 0x001807A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009194 RID: 37268 RVA: 0x001825AC File Offset: 0x001807AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.SelectHintId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.SelectHintId);
			}
			this.dFNKOJAHCPD_.WriteTo(ref output, OMJPKPNNMJM._repeated_dFNKOJAHCPD_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009195 RID: 37269 RVA: 0x001825FC File Offset: 0x001807FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.dFNKOJAHCPD_.CalculateSize(OMJPKPNNMJM._repeated_dFNKOJAHCPD_codec);
			if (this.SelectHintId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SelectHintId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009196 RID: 37270 RVA: 0x00182650 File Offset: 0x00180850
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(OMJPKPNNMJM other)
		{
			if (other == null)
			{
				return;
			}
			this.dFNKOJAHCPD_.Add(other.dFNKOJAHCPD_);
			if (other.SelectHintId != 0U)
			{
				this.SelectHintId = other.SelectHintId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009197 RID: 37271 RVA: 0x0018269D File Offset: 0x0018089D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009198 RID: 37272 RVA: 0x001826A8 File Offset: 0x001808A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 72U && num != 74U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.dFNKOJAHCPD_.AddEntriesFrom(ref input, OMJPKPNNMJM._repeated_dFNKOJAHCPD_codec);
					}
				}
				else
				{
					this.SelectHintId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400377D RID: 14205
		private static readonly MessageParser<OMJPKPNNMJM> _parser = new MessageParser<OMJPKPNNMJM>(() => new OMJPKPNNMJM());

		// Token: 0x0400377E RID: 14206
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400377F RID: 14207
		public const int DFNKOJAHCPDFieldNumber = 9;

		// Token: 0x04003780 RID: 14208
		private static readonly FieldCodec<uint> _repeated_dFNKOJAHCPD_codec = FieldCodec.ForUInt32(74U);

		// Token: 0x04003781 RID: 14209
		private readonly RepeatedField<uint> dFNKOJAHCPD_ = new RepeatedField<uint>();

		// Token: 0x04003782 RID: 14210
		public const int SelectHintIdFieldNumber = 1;

		// Token: 0x04003783 RID: 14211
		private uint selectHintId_;
	}
}
